package com.ruoyi.cs.domain;

import java.math.BigDecimal;
import java.util.List;

import com.ruoyi.cs.domain.dto.battle.BattleBoxDTo;
import com.ruoyi.cs.domain.vo.TBackPackVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 对战用户信息对象 t_battle_user
 * 
 * @author ruoyi
 * @date 2021-08-05
 */
@Data
public class TBattleUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 对战台参与ID */
    @Excel(name = "对战台参与ID")
    @ApiModelProperty(value = "对战台参与ID")
    private String battleruserId;

    /** 对战台ID */
    @Excel(name = "对战房间ID")
    @ApiModelProperty(value = "对战房间ID")
    private String battleId;

    /** 参与对战的用户ID */
    @Excel(name = "参与对战的用户ID")
    @ApiModelProperty(value = "参与对战的用户ID")
    private String userId;

    /** 花费金额 */
    @Excel(name = "花费金额")
    @ApiModelProperty(value = "花费金额")
    private BigDecimal cost;

    /** 对战状态 0 默认 1 胜者方 */
    @Excel(name = "对战状态 0 失败方 1 胜者方  2 平手")
    @ApiModelProperty(value = "对战状态  0 失败方 1 胜者方  2 平手")
    private String dzStatus;

    /**参与对战的箱子信息*/
    @ApiModelProperty(value = "参与对战的箱子信息")
    private List<TBattleBox> tBattleBoxList;

    /**用户头像*/
    @ApiModelProperty(value = "用户头像")
    private String userPic;
    /**用户名称*/
    @ApiModelProperty(value = "用户名称")
    private String  userName;

    /**箱子中开出的饰品总金额*/
    @ApiModelProperty(value = "箱子中开出的饰品总金额")
    private BigDecimal goodsPriceTotal;

    @ApiModelProperty(value = "箱子中获得的饰品总金额")
    private BigDecimal acquiredGoodsPriceTotal;

    /**背包状态*/
    @ApiModelProperty(value = "背包状态")
    private String battleStatus;

    @ApiModelProperty(value = "用户类型 0 普通用户 1 主播 2 机器人 3 对战机器人")
    private String userType;

    @ApiModelProperty(value = "开出的饰品集合")
    private List<TBackPackVo> openedGoodsList;

    @ApiModelProperty(value = "获得的饰品集合")
    private List<TBackPackVo> acquiredGoodsList;

    @ApiModelProperty(value = "用户手机号")
    private String userPhone;

    @ApiModelProperty(value = "是否是房主 0-是 1否")
    private String isHomeowner;

    @ApiModelProperty(value = "对战所开饰品金额")
    private BigDecimal battleFee;

    @ApiModelProperty(value = "当前用户客户端种子")
    private String currentUserSeed;

    @ApiModelProperty(value = "创建时间戳")
    private Long creatTimeStamp;

    @ApiModelProperty(value = "对战箱子")
    List<BattleBoxDTo> battleBoxDToList;

    /** 备注3 */
    @ApiModelProperty(value = "推广人的用户ID")
    private String userPromotersId;

    @ApiModelProperty(value = "最终所得饰品总价值")
    private BigDecimal finalGoodsPrice;

    @ApiModelProperty(value = "客户端种子")
    private String userSeed;

    @ApiModelProperty(value = "服务端种子")
    private String serverSeed;

    @ApiModelProperty(value = "公共哈希")
    private String commonHash;

    @ApiModelProperty(value = "roll值")
    private Long rollValue;

    @ApiModelProperty(value = "随机值")
    private Integer nonce;

    @ApiModelProperty(value = "坑位")
    private String pitlocation;

    @ApiModelProperty(value = "粉丝对战补偿金额")
    private BigDecimal bcFee = BigDecimal.ZERO;

}
